package com.shilei.command;

/**
 * @description:
 * @author: 81271
 * @date: 2020-04-23 20:51
 */
public class Main {
    public static void main(String[] args) {
        Content content = new Content();

        InsertCommand insertCommand = new InsertCommand(content);
        insertCommand.doit();
        insertCommand.undo();

        CopyCommand copyCommand = new CopyCommand(content);
        copyCommand.doit();
        copyCommand.undo();

        System.out.println(content.msg);
    }
}
